package cn.mw.cmdb.param;

import cn.mw.cmdb.anno.ExcelValid;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class TemplateExcelImportParam {
    @ExcelProperty(value = "厂商(必填)", order = 0)
    @ExcelValid(message = "厂商不能为空")
    private String brand;
    @ExcelProperty(value = "规格型号(必填)", order = 1)
    @ExcelValid(message = "规格型号不能为空")
    private String specification;
    @ExcelProperty(value = "监控方式(必填)",order= 2)
    @ExcelValid(message = "监控方式不能为空")
    private String monitorModeName;
    @ExcelProperty(value = "系统OID(监控方式为SNMP时,系统OID必填)", order = 3)
    @ExcelValid(message = "监控方式为SNMP时,系统OID不能为空")
    private String systemObjid;
    @ExcelProperty(value = "关联模板名称(必填)", order = 4)
    @ExcelValid(message = "关联模板名称不能为空")
    private String templateName;
    @ExcelProperty(value = "资产类型(必填)", order = 5)
    @ExcelValid(message = "资产类型不能为空")
    private String modelGroupName;
    @ExcelProperty(value = "子类型(必填)", order = 6)
    @ExcelValid(message = "子类型不能为空")
    private String modelName;
    @ExcelProperty(value = "特征信息", order = 7)
    private String description;
    @ExcelProperty(value = "错误信息", order = 8)
    private String errorMsg;

    //厂商Id
    protected String brandId;

    //规格型号Id
    protected String specificationId;

    //模型分组Id（资产类型Id）
    protected String modelGroupId;

    //模型Id（资产子类型Id）
    protected String modelId;

    //监控协议
    protected Integer monitorMode;

    //模板启用状态
    protected Boolean status;

}
